<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>家会网内容管理系统</title>

<link href="__PUBLIC__/Skins/Default/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/Js/jquery-1.8.3.min.js"></script>
<STYLE type=text/css>
BODY {
	MARGIN: 0px;
	background: #FFFFFF;
}
</STYLE>
</head>

<body >
<table width="100%" height="50" border="0" align="center" cellpadding="1" cellspacing="1" class="table01">
  <tr>
    <td height="23" class="table_content">
    <form action="__APP__/AdminMember/member_type_list" method="post" id="form1">
    	<input type="text" name="addText" />
    	<input name="Submit3" type="submit" class="erzi" value="增加会员类型" />
    </form>
    </td>
</table>
<table width="0%" height="173" border="0" align="center" cellpadding="1" cellspacing="1" class="table01">
  <tr>
    <td height="24" colspan="14" class="table_top"><strong>会员类型</strong></td>
  </tr>
  <tr>
    <td width="12%" height="12" class="td_title">会员类型</td>
    <td colspan="8" class="td_title">操作</td>
  </tr>
  <volist name="types" id="list">
  <tr>
    <td height="1" class="table_content">
    	<input type="text" id="type_name{$list.id}" name="type_name{$list.id}" value="{$list.type_name}"/>
        <b id="optInfo{$list.id}" style="color:#00ff00"></b>
    </td>
    <td width="10%" colspan="8" class="table_content">
    	<a href="javascript:void(0)" onClick=" return editType( {$list.id} )">修改</a>
    </td>
  </tr>
  </volist>
  <tr>
    <td height="32" colspan="14" class="table_bottom"><table cellspacing="0" cellpadding="0" style="font-size:12px;">
    <!--<form action="__APP__/Admin/member_list" method="get" id="form1">
      <TR>
        <TD>当前第 <SPAN id="1.5246491084540214_currentpage">{$page['currPage']}</SPAN> 页,共查询到 
        <SPAN id="1.5246491084540214_totalpage">{$page['totalPage']}</SPAN> 页，共有 <SPAN id="1.5246491084540214_pagecount">{$page['totalData']}</SPAN> 条记录.</TD>
        <TD>&nbsp;</TD>
        <TD>转到第</TD>
        
        <TD><INPUT type="text" id="gotoPage" size="3" name="p" value="{$page['currPage']}"/></TD>
        <TD>页</TD>
        <TD><INPUT type="submit" class="button_page_go" value="" /></TD>
        <TD>&nbsp;</TD>
        <TD><INPUT type="submit" class="button_page_F_highlight" id="undefined_f" value="" onClick="$('#gotoPage').val(1)"/>
              <IMG height="1" src="" width="5"></TD>
        <TD><INPUT type="submit" class="button_page_P_highlight" id="undefined_p" value="" onClick="$('#gotoPage').val({$page['prevPage']})"/>
              <IMG height="1" src="" width="5"></TD>
        <TD><DIV id="1.5246491084540214_midpage"><SPAN title="当前第1页">{$page['currPage']}</SPAN></DIV></TD>
        <TD><INPUT type="submit" class="button_page_N_highlight" id="undefined_n" value="" onClick="$('#gotoPage').val({$page['nextPage']})"/>
              <IMG height="1" src="" width="5"></TD>
        <TD><INPUT type="submit" class="button_page_L_highlight" id="undefined_l" value="" onClick="$('#gotoPage').val({$page['totalPage']})"/>
              <IMG height="1" src="" width="5"></TD>
      </TR>-->
      </form>
    </table>
    </td>
  </tr>
</table>
</body>
</html>
<script type="text/javascript">
function editType($id){
	var postUrl = "__URL__/edit_member_type";
	var $type_name = $("#type_name"+$id).val();
	$.post(postUrl,{id:$id,type_name:$type_name},function(data){
		if(data){
			$("#optInfo"+$id).html(data);
		}else{
			$("#optInfo"+$id).html("操作成功");
		}
	});
	return false;
}
</script>